package com.lzh.runke.controller.exceltest.easyexcel;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

/**
 * 基于easyExcel的通用导出
 * 单行表头导出实体基类
 *
 * @author lzh
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
@ExcelIgnoreUnannotated
public class BaseExportEntity implements Serializable {
    private static final long serialVersionUID = 170538975227281457L;

    /**
     * 序号
     */
    @ExcelProperty(value = "序号", index = 0)
    private String number;
}
